/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tweetbotserver.robot.comms.encoder;

import tweetbotserver.robot.comms.BotMessage;

/**
 *
 * @author Mike
 */
public interface BotMessageEncoder<T> {

    public byte[] encode(BotMessage<T> input);

    public BotMessage<T> decode(byte[] bytes);
}
